import API from "@/utils/request";

// 分销商品设置
export const DISTRIBUTEGOODSLIST = data => {
  return API("sp/v1.Distribut/distributeGoodsList", data);
};
export const ADDDISTRIBUTEGOODS = data => {
  return API("sp/v1.Distribut/addDistributeGoods", data);
};
export const EDITDISTRIBUTEGOODS = data => {
  return API("sp/v1.Distribut/editDistributeGoods", data);
};
export const DEFAULTBILI = data => {
  return API("sp/v1.Distribut/defaultBili", data);
};
export const REMOVEDISTRIBUTEGOODS = data => {
  return API("sp/v1.Distribut/removeDistributeGoods", data);
};
export const SETHOT = data => {
  return API("sp/v1.Distribut/setHot", data);
};
// 分销设置
export const ISDISTRIBUT = data => {
  return API("sp/v1.Distribut/isDistribut", data);
};
export const DISTRIBUTESETTING = data => {
  return API("sp/v1.Distribut/distributeSetting", data);
};
export const HIRESETTING = data => {
  return API("sp/v1.Distribut/hireSetting", data);
};
export const ISDISTRIBUTE = data => {
  return API("sp/v1.Distribut/isDistribute", data);
};
// 分销员列表
export const COMMONUSERLIST = data => {
  return API("sp/v1.Distribut/commonUserList", data);
};
export const SETREMARKS = data => {
  return API("sp/v1.Distribut/setRemarks", data);
};
export const POINTUSERTODISTRIBUTOR = data => {
  return API("sp/v1.Distribut/pointUserToDistributor", data);
};
export const DISTRIBUTORLIST = data => {
  return API("sp/v1.Distribut/distributorList", data);
};
export const ICEORSUNDISTRIBUTOR = data => {
  return API("sp/v1.Distribut/iceOrSunDistributor", data);
};
export const EDITLV = data => {
  return API("sp/v1.Distribut/editLv", data);
};
export const EDITDISTRIBUTECHAIN = data => {
  return API("sp/v1.Distribut/editDistributeChain", data);
};
export const BATCHEDITDISTRIBUTECHAIN = data => {
  return API("sp/v1.Distribut/batchEditDistributeChain", data);
};
export const DISTRIBUTORAVALIABLELIST = data => {
  return API("sp/v1.Distribut/distributorAvaliableList", data);
};
export const DISTRIBUTEDOWNLV = data => {
  return API("sp/v1.Distribut/distributeDownLv", data);
};
export const ADDSTAFF = data => {
  return API("sp/v1.Distribut/addStaff", data);
};
export const STAFFCHAIN = data => {
  return API("sp/v1.Distribut/staffChain", data);
};
export const EDITSTAFFCHAIN = data => {
  return API("sp/v1.Distribut/editStaffChain", data);
};
export const CURRENTSTAFFINFORMATION = data => {
  return API("sp/v1.Distribut/currentStaffInformation", data);
};
export const STAFFQUIT = data => {
  return API("sp/v1.Distribut/staffQuit", data);
};
export const EDITSTAFFTOUSER = data => {
  return API("sp/v1.Distribut/editStaffToUser", data);
};

// 分销订单
export const DISTRIBUTEORDERLIST = data => {
  return API("sp/v1.Distribut/distributeOrderList", data);
};
export const SETTLEMENTORDER = data => {
  return API("sp/v1.Distribut/settlementOrder", data);
};
export const COMMISSIONDETAIL = data => {
  return API("sp/v1.Distribut/commissionDetail", data);
};

// 结算/提现订单

export const SETTLEMENTORDERLOG = data => {
  return API("sp/v1.Distribut/settlementOrderLog", data);
};
export const CASHORDER = data => {
  return API("sp/v1.Distribut/cashOrder", data);
};
export const CASHEXAMINE = data => {
  return API("sp/v1.Distribut/cashExamine", data);
};
